from django.shortcuts import render

# Create your views here.
from django.http import request,HttpResponse

def index(request):
    return HttpResponse("master")

def date(request,year,month):
    if (int(year) >= 1) and (int(month) >= 1 and int(month) <=12):
        return HttpResponse(f"{year}年{month}月".format(year,month))
    else:
        return HttpResponse("please input year month")